<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>商品属性</title>
<%@ include file="/page/include.jsp"%>
</head>
<link rel="stylesheet" type="text/css"
	href="${rootPath}/statics/plugins/zTree/css/zTreeStyle/zTreeStyle.css" />
<style type="text/css">
.error {
	color: red;
	padding-left: 10px;
}
</style>
<body class="nav-md" style="background-color: #f7f7f7">
	<div class="container body">
		<div class="main_container">
			<div class="framebody" style="min-height: 100%;" role="main">
				<div class="">
					<div class="clearfix"></div>
					<div class="row">
						<div class="col-md-12 col-sm-12 col-xs-12">
							<div class="x_panel">
								<div class="x_title">
									<h2>
										<i class="fa fa-pencil fa-fw"></i><strong>商品属性编辑</strong> <small></small>
									</h2>
									<div class="clearfix"></div>
								</div>
								<div class="x_content">
									<form class="form-horizontal form-label-left" novalidate
										id="productPropertyForm" method="post"
										action="${pageContext.request.contextPath}/productProperty/saveOrUpdateProductProperty">
										<input type="hidden" id="id" name="id" value="${id }">
										<input type="hidden" id="sortNo" name="sortNo"
											value="${ppe.sortNo}">
										<div class="item form-group">
											<label class="control-label col-md-1 col-sm-1 col-xs-12"
												for="roleName">属性名称: </label>
											<div class="col-md-3 col-sm-3 col-xs-12">
												<input id="propertyName" name="propertyName"
													value="${ppe.propertyName }"
													class="form-control col-md-3 col-xs-12" type="text">
											</div>
										</div>
										<div class="item form-group">
											<label class="control-label col-md-1 col-sm-1 col-xs-12"
												for="roleName">属性备注: </label>
											<div class="col-md-3 col-sm-3 col-xs-12">
												<input id="propertyIntro" name=propertyIntro
													value="${ppe.propertyIntro }"
													class="form-control col-md-3 col-xs-12" type="text">
											</div>
										</div>
										<div class="row" style="padding-bottom: 10px;">
											<a  class="btn btn-success btn-sm"  id="add_product_property" href="javascript:void(0);">添加新属性值</a>
										</div>
										<div class="item form-group">
											<div class="row">
												<table id="productPropertyValueTable" class="table"></table>
											</div>
										</div>
										<div class="ln_solid"></div>
										<div class="form-group">
											<div class="col-md-6 col-md-offset-3">
												<a id="btn_back" class="btn btn-inverse"><i
													class="fa fa-reply fa-fw"></i>返回</a> <a id="btn_save"
													class="btn btn-primary"><i class="fa fa-check fa-fw"></i>确定</a>
											</div>
										</div>
									</form>

								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript"
	src="${rootPath}/js/product/productProperty_form.js"></script>
</html>